package com.cnbot.dchttpsdk.constant;

/**
 * Copyright (c) 2016-a  Hunan Cnbot Co., Ltd. All Rights Reserved.
 *
 * @descriptoin http配置
 * @FileName: HttpConstant.java
 * @author: dc
 * @date: 2019/1/19 14:11
 * @version: 1.0
 */

public interface HttpConstant {


    /**
     * 正式运行服务器地址
     */
    String RELEASE_BASE_URL = "192.168.40.30:8081";
    /**
     * debug运行服务器地址
     */
    String DEBUG_BASE_URL = "192.168.40.30:8081";

    /**
     * 服务器地址, 根据buildConfig的变量DEBUG_SERVER_URL 获取不同的服务器地址
     */
//    String HTTPSERVICEIP = BuildConfig.DEBUG_SERVER_URL == true ? "http://" + RELEASE_BASE_URL + "/airportrobot/" : "http://" + DEBUG_BASE_URL + "/apiserver/";

    String HTTPSERVICEIP = "http://" + RELEASE_BASE_URL + "/airportrobot/" ;
    // 返回结果码

    /**
     * 操作成功
     */
    int RESPONSE_SUCCESS = 0;
    /**
     * 操作失败
     */
    int RESPONSE_FIAIL = 503;
}
